package com.niiwoo.civet.user.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum FeedbackSubStatusEnum {
    WAIT_REPLY("00", "待回复"),
    REPLIED_WAIT_VIEW("10", "已回复待查看"),
    REPLIED_VIEWED("11", "已回复已查看"),
    UNSOLVED("12", "未解决"),
    SOLVED("90", "已解决");


    public final String  value;
    public final String desc;

    public static FeedbackSubStatusEnum enumOf(String value) {
        for (FeedbackSubStatusEnum statusEnum : values()) {
            if (statusEnum.value.equals(value)){
                return statusEnum;
            }
        }
        return null;
    }
}
